home *** CD-ROM | disk | FTP | other *** search
- Path: news.netvision.net.il!usenet
- From: simchoni@netvision.net.il (Uri Simchoni)
- Newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2,comp.lang.eiffel
- Subject: Re: Hungarian notation
- Date: 9 Jan 1996 18:47:43 GMT
- Organization: Simchoni Automation Systems Ltd
- Message-ID: <4cud8f$gup@news.netvision.net.il>
- References: <30C40F77.53B5@swsbbs.com> <marnoldDJEvtJ.1Lx@netcom.com> <4aleun$jlk@ns.RezoNet.NET> <marnoldDJMDBG.CFz@netcom.com> <4asnkr$7b0@solutions.solon.com> <4ath75$e7i@barnacle.iol.ie> <4b4kij$svt@news.microsoft.com> <dewar.819489496@schonberg> <4bd <4cc2b2$11jq@navajo.gate.net>
- NNTP-Posting-Host: ts4cp13.netvision.net.il
- Mime-Version: 1.0
- X-Newsreader: WinVN 0.99.3
-
- In article <4cc2b2$11jq@navajo.gate.net>, feathers@gate.net says...
- >Where I work, all the truly portable code is written in terms of
- >typedefs. We alter the typedefs in an include file to alter data
- >sizes and performance characeristic, and our variant of Hungarian
- >uses these type names.
-
- I'm trying to get used to the idea...
-
- What if you have a variable which contains the delay between two
- operations in milliseconds. Do you make up a new type, say
-
- typedef unsigned MSEC
-
- and declare:
-
- MSEC cmsecDelayBetweenCharacters; ?
-
- Where do you put all those typedefs? in the beginning of the .c file,
- right before the declaration of in a separate .h file?
-
- Thanks for your response,
- Uri
-
-